package com.dragon.mmochat.model.enumType;

public enum MmochatBetType {
	游戏币赌场(0), 元宝赌场(1);

	int key;

	MmochatBetType(int k) {
		key = k;
	}

	public int getKey() {
		return key;
	}

	public static MmochatBetType get(int k) {
		for (MmochatBetType type : MmochatBetType.values()) {
			if (type.getKey() == k) {
				return type;
			}
		}
		return null;
	}

}
